From a08e2b5692cca817594aa11507f43dc672774d0c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Sep 2017 17:01:29 -0400 Subject: [PATCH] Drop code parsing deprecated forms of url We no longer allow whitespace between url and (. --- gtk/gtkcssparser.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/gtk/gtkcssparser.c b/gtk/gtkcssparser.c index 960445ffb8..852f9ef091 100644 --- a/gtk/gtkcssparser.c +++ b/gtk/gtkcssparser.c @@ -835,18 +835,8 @@ _gtk_css_parser_read_url (GtkCssParser *parser) { if (!_gtk_css_parser_try (parser, "(", TRUE)) { - _gtk_css_parser_skip_whitespace (parser); - if (_gtk_css_parser_try (parser, "(", TRUE)) - { - _gtk_css_parser_error_full (parser, - GTK_CSS_PROVIDER_ERROR_DEPRECATED, - "Whitespace between 'url' and '(' is deprecated"); - } - else - { - _gtk_css_parser_error (parser, "Expected '(' after 'url'"); - return NULL; - } + _gtk_css_parser_error (parser, "Expected '(' after 'url'"); + return NULL; } path = _gtk_css_parser_read_string (parser); -- 2.30.2